<!DOCTYPE html>
<html><head lang="en">
    <meta charset="UTF-8">
<title>上传文件</title>
    <style>
        #main{margin:0 auto; width: 500px;}
        dl{clear: both; width: 100%;}
        dt{
            float: left;
            width: 100px;
            text-align: right;
        }
    </style>

</head>

<body>
<div id="main">
    <dl id="upload">
        <dt>文件路径：</dt>
        <dd><input name="fileImages" type="file"></dd>
    </dl>
   
</div>
 <div id="addBtn"><input id="up" type="button" value="再上传一个文件"onclick="copy()"></div>


</body>
<script>
	function copy(){
		var f1=document.getElementById("upload").cloneNode(true);;
	
		var f2=document.getElementById("main");
		f2.appendChild(f1);
	}

</script>
</html>